package com.fj.flowabletest.demos.processor;

import com.alibaba.fastjson2.JSON;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

/**
 * @author fj
 * @date 2025/7/16 09:00
 */
public class NotifyProcessor implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) {
        Object expense = execution.getVariable("expense");
        System.out.println("expense = " + JSON.toJSONString(expense));
    }
}
